package com.sslfer.user.controller;

import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.RestController;

/**
 * 对位提供的服务
 * @author sslf
 * @date 2018/6/16
 */
@RestController
@RequestMapping("/user")
public class UserController {

    @PostMapping("/userInfo")
    public String userInfo(@RequestParam String id){
        return "用户信息：" + id;
    }

}
